package com.ym.soso.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ym.common.utils.covert.SystemUserCovert;
import com.ym.soso.domain.entity.RegistryWayEntity;
import com.ym.soso.enums.PublishStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 中医堂信息对象 china_medicine
 *
 * @author ym
 * @date 2020-09-01
 */
@ApiModel("中医堂信息")
@Data
public class ChinaMedicineVO implements Serializable{

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("医堂编码")
    private String theCode;

    @ApiModelProperty("医堂名称")
    private String theName;

    @ApiModelProperty("重点科室(文本描述)")
    private String impDept;

    @ApiModelProperty("重点介绍")
    private String theImportDesc;

    @ApiModelProperty("门诊时间")
    private String obsTime;

    @ApiModelProperty("中医服务")
    private String theService;

    @ApiModelProperty("详情介绍")
    private String introduction;

    @ApiModelProperty("icon图")
    private String icon;

    @ApiModelProperty("区域")
    private String area;

    @ApiModelProperty("省份")
    private String prov;

    @ApiModelProperty("市")
    private String city;

    @ApiModelProperty("国内排名")
    private Integer landRank;

    @ApiModelProperty("区域排名")
    private Integer areaRank;

    @ApiModelProperty("省排名")
    private Integer provRank;

    @ApiModelProperty("市级排名")
    private Integer cityRank;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("联系电话")
    private String linkPhone;

    @ApiModelProperty("趁车路线")
    private String thePath;

    @ApiModelProperty("标签")
    private String tags;

    @ApiModelProperty("创建人")
    @JsonSerialize(converter = SystemUserCovert.class)
    private Long creSb;

    @ApiModelProperty("发布时间")
    private Date publishTime;

    @ApiModelProperty("发布状态")
    @JsonSerialize(converter = PublishStatusEnum.Covert.class)
    private String publishStatus;

    @ApiModelProperty("挂号方式")
    private List<RegistryWayEntity> registryWays;

}
